#include "xtransactionstate.h"
#include "xtransaction.h"

XSIPTransactionState::XSIPTransactionState()
{
	m_state = 0;
}

XSIPTransactionState::~XSIPTransactionState()
{

}

int XSIPTransactionState::touch()
{
	return -1;
}

void XSIPTransactionState::setTransaction(XSIPTransaction* transaction)
{
	m_transaction = transaction;
}

void XSIPTransactionState::complete()
{

}

void XSIPTransactionState::timeout()
{
	
}

void XSIPTransactionState::setState(int state)
{
	m_state = state;
}

int XSIPTransactionState::getState()
{
	return m_state;
}